package pwd.allen;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * 服务提供者Provider会往注册中心注册服务
 *
 * @author 门那粒沙
 * @create 2019-10-03 17:24
 **/
public class ProviderMain {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext ioc = new ClassPathXmlApplicationContext("classpath:provider.xml");
        ioc.start();

        System.in.read();
    }
}
